//
//  Logger.m
//  Do Not Disturb
//
//  Created by Chris Karr on 9/15/07.
//  Copyright 2007 __MyCompanyName__. All rights reserved.
//

#import "Logger.h"

@implementation Logger

- (void) logLabel:(NSString *) label readings:(NSArray *) readings
{
	NSEnumerator * iter = [readings objectEnumerator];
	NSDictionary * event;
	
	while (event = [iter nextObject])
	{
		NSString * name = [event valueForKey:@"name"];
		
		NSLog (@"%@: %@", label, name);
	}
}	

- (NSNumber *) readingCount
{
	return [NSNumber numberWithInt:-1];
}

- (void) clear
{
	NSLog (@"Clear Log");
}

@end
